package com.xianyun.book.gatewayimpl.database.dataobject;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ytt
 */
@Data
public class BookDO extends BaseDO{
    /**主键*/
    private Integer id;
    /**书籍编号*/
    private String bookId;
    /**用来查询的书籍typeName*/
    private String bookTypeName;
    /**类型名称*/
    private List<String> typeNames;
    /**书籍图片*/
    private String imgUrl;
    /**书籍状态 有货 无货 促销....*/
    private Integer bookStatus;
    /**参与人数*/
    private Integer personNumber;
    /**评论分数*/
    private Double score;
    /**书籍名称*/
    private String bookName;
    /**原始价格*/
    private BigDecimal originalPrice;
    /**出版人*/
    private String author;
    /**出版社*/
    private String press;
    /**出版日期*/
    private String publishDate;
    /**书籍对应的ISBN码*/
    private String isbn;
    /**书籍介绍*/
    private String bookDesc;
    /**折扣率*/
    private Double discountRate;
    /**库存量*/
    private Integer inStock;
    /**综合评分*/
    private Double overallRat;
    /**书籍标签*/
    private String bookItem;
    /**销售数量*/
    private Integer salesVolume;
    /**上新时间*/
    private Date newTime;
    /**添加时间*/
    private Date addTime;
}
